//导入request.js请求工具
import request from '@/utils/request.js'

//提供调用全部列表信息的函数
export const searchMeasure = (measureDate)=>{
    return  request.get('/measure/getAll',measureDate)
}
//添加帮扶措施
export const measureAddService = (measureData)=>{
    return request.post('/measure/add',measureData);

}
//查找一个
export const searchPag = (measureDate)=>{
    console.log(measureDate)
    return request.post('/measure/findone',measureDate)
}
//编辑
export const measureUpdateService = (measureData)=>{
    return request.post('/measure/update',measureData);

}
//删除
export const measureDelService = (measureData)=>{
    return request.post('/measure/delete',measureData);

}